document.querySelector('li:nth-child(3)').classList.add('li-show')

function delGoods(id) {
    if (confirm('确认删除')) {
        window.location.href = '../../Model/GoodsCheck.php?goods_id=' + id
    }
}

function modifyGoods(id) {
    window.location.href = '../../View/goods-modify.php?goods_id=' + id
}

let userWindow = document.querySelector('.panel_cancel_modify')
userWindow.addEventListener('click', () => {
    window.location.href = '../../View/goods-manage.php'
})
